<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<% String contextPath = request.getContextPath(); %>
<link href="<%=contextPath%>/include/css/store.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="<%=contextPath%>/include/js/override/css.css" media="all">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title></title>
</head>
<body>
<table width="100%" cellspacing="0">
  <tr>
  	<td>
  		<div id="navCover" name="navCover"></div>
  	</td>
  </tr>
  <tr> 
    <td class="content">
    <br>
		<table width="95%" align="center">
		<tr>
			<td>
				<span class="contentbold">Customer </span><br>
				&nbsp;&nbsp;&nbsp;
				<a href="goToCustomerMaintenance.action" class="linkv" title="" >Customer Info Maintenance</a>
			</td>
		</tr>
		
		<tr>
			<td>
				<span class="contentbold">Transactions</span><br>
				&nbsp;&nbsp;&nbsp;
				<a href="goToSellProducts.action" class="linkv" title="" >Sell Products</a>
				<br>
				&nbsp;&nbsp;&nbsp;
				<a href="goToOrdersAction.action" class="linkv" title="" >Confirm Orders</a>
				<br>
				&nbsp;&nbsp;&nbsp;
				<a href="goToReturnProductsAction.action" class="linkv" title="" >Return Products</a>
			</td>
		</tr>
		<s:if test="#session.userAccess.access == 'admin' ">
		<tr>
			<td>
				<span class="contentbold">Inquiry</span><br>
				&nbsp;&nbsp;&nbsp;
				<a href="goToAuditLogAction.action" class="linkv" title="" >Audit Logs</a>
				<br>
				&nbsp;&nbsp;&nbsp;
				<a href="goToAuditStocksAction.action?out=no" class="linkv" title="" >Audit Stocks</a>
				<br>
				&nbsp;&nbsp;&nbsp;
				<a href="goToSoldProductsAction.action" class="linkv" title="" >Top Selling</a>
			</td>
		</tr>
		<tr>
			<td>
				<span class="contentbold">Admin Tools</span><br>
				&nbsp;&nbsp;&nbsp;
				<a href="goToProductMaintenance.action" class="linkv" title="" >Product Maintenance</a>
				<br>
				&nbsp;&nbsp;&nbsp;
				<a href="goToCategoryAction.action" class="linkv" title="" >Category Maintenance</a>
				<br>
				&nbsp;&nbsp;&nbsp;
				<a href="goToUserMaintenanceAction.action" class="linkv" title="" >User Maintenance</a>
			</td>
		</tr>
		<tr>
			<td>
				<span class="contentbold">Security</span><br>
				&nbsp;&nbsp;&nbsp;
				<a href="goToChangePasswordAction" class="linkv" title="" >Change Admin Password</a>
			</td>
		</tr>
		</s:if>
		<tr>
			<td><a href="doLogOutAction.action" class="linkv"  title="" >Log Out</a></td>
		</tr>
		
	</table>
	<br/>
	
	<s:if test="#session.warning == 'show' ">
	<table style="border:dotted red 1px; margin: 2px;">
	<tr>
		<td><span class="contentbold" style="color: red !important; font-size: 11px !important;">Warning! Some products are nearly out of stocks.</span>
		&nbsp;
		<a href="goToAuditStocksAction.action?out=yes" class="linkv">View Details</a></td>
	</tr>
	
	</table>
	</s:if>
</td>
</tr>
</table>
</body>
</html>